package com.yuanzong.wuliu.controller.admin.system.notice.param;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class AdminSystemNoticeAddParam {

    @ApiModelProperty(value = "标题")
    @NotEmpty(message = "标题不能为空")
    private String title;

    @ApiModelProperty(value = "内容")
    @NotEmpty(message = "内容不能为空")
    private String content;
}
